import { createRouter, createWebHashHistory, RouteRecordRaw } from 'vue-router'

const routes: Array<RouteRecordRaw> = [
  {
    path: '/',
    redirect:"/home"
  },
  {
    path: '/home',
    name: 'Home',
    component:  import('../views/Home.vue')
  },
  {
    path: '/base',
    name: 'Base',
    component:  import('../components/基本特效.vue')
  }
]

const router = createRouter({
  history: createWebHashHistory(),
  routes
})

export default router
